const express = require("express");
const app = express();

// 当发出GET请求时，返回“hello world”
app.get("/", function (req, res) {
    res.send("hello world");
});
app.listen(3000, () => { console.log("启动成功，端口3000") });